/* var count = 0;
var i = 1;
while (i++ <= 100) {
	if (i % 7 == 0) {
		count++;
		console.log(i);
	}	
}
console.log(count); */

/* var i=0,count=0,sum=0;
while( i++, i<=100){
	if(i%2==0){
		count++;
		console.log(i);		
		sum+=i;
	}
}
console.log(sum); */
var m=['a','b','c','d'];
for(var i=0,n;i<m.length;i++){
	n=m.length-1-i;	
	console.log(m[i],m[n])
}



